﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMTVision.Widgets.Framework
{
    public interface IWidgetContainer 
    {
        bool IsInEditMode { get; set; }

        TitleShowMode TitleShowMode { get; set; }

        IWidget Widget { get; set; }

        Action<IWidgetContainer, IWidget> Deleted { get; set; }
       
        System.Web.UI.Control WidgetHolder { get; }

        System.Web.UI.Control ContainerWrapper { get; }

        void LoadWidget(long widgetId);

        void Refresh();
    }
}
